package top.yehot.kettle.boot.models.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 文件
 * 
 * @author lquan
 * @date 2022年6月1日 下午10:20:10
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("k_script")
@ApiModel(value = "Script对象", description = "文件")
public class Script implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("资源库id")
    private String repId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("文件夹路径")
    private String folderPath;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


}
